package config

type ServerConfig struct {
	ServerName   string
	IP           string
	Port         int
	MysqlConfig  MysqlConfig
	ConsulConfig ConsulConfig
	NacosConfig  NacosConfig
}
type MysqlConfig struct {
	User     string
	Password string
	Host     string
	Port     int
	DbName   string
}

type ConsulConfig struct {
	ConsulHost string
	ConsulPort int
	Tags       []string
}
type NacosConfig struct {
	NamespaceId    string
	LogDir         string
	CacheDir       string
	LogLevel       string
	IpAddr         string
	ServerPort     int
	ServerGrpcPort int
	DataId         string
	Group          string
}
